// 2014-02-01 Tyrghen
//---------------------------------------------
// Usage:
//  [] call edt_fnc_;
//---------------------------------------------
// Purpose:
// 
// 
// Parameters:
// - 
//
// Returns:
// 
//---------------------------------------------
// Objectif:
// 
//
// Paramètres:
// - 
//
// Renvoie:
// 
//---------------------------------------------

//#define __FORCE_TRACE__
//#define __FORCE_DEBUG__
//#define __FORCE_INFO__
#define THIS_FILE "editor\fn_ejectVehicle.sqf"
#include <tmf_constants.h>
#include <tmf_macros.h>

TRACE_1("Start",_this);
TMFPROFILERSTART;

private ["_vec","_params"];
DEFAULT_PARAM(_vec,0,objNull);
if (isServer && !isnull _vec) then {
	_params = [];
	SETVAL(_params, TMF_EXECUTE_ACTION_PARAM_ACTID, -1);
	SETVAL(_params, TMF_EXECUTE_ACTION_PARAM_FUNC, "EjectPassenger");
	[QGVAR(all_action), [_vec, _vec, -1, _params],THIS_FILE] call FFUNC(callEvent);
};
TRACE("End");
TMFPROFILERSTOP;